<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>求出数组中所有数字之和</title>
</head>
<link rel="stylesheet" href="./css/index.css">
<script src="./js/index.js"></script>
<body>
    <input type="text" name="" id="txt"><span>输入数字求和，数字之间用半角","号隔开</span><br>
    <input type="button" value="求和" id="btn">
    <div id="value"></div>
</body>
</html>